<template>
  <div id="app">
    <a-config-provider :locale="locale">
      <div class="app-layout">
        <Layout>
          <router-view/>
        </Layout>
      </div>
    </a-config-provider>
  </div>
</template>

<script>
import Layout from './layout'
import zhCN from 'ant-design-vue/lib/locale-provider/zh_CN'

export default {
  data () {
    return {
      locale: zhCN
    }
  },
  components: {
    Layout
  }
}
</script>

<style lang="less">
.app-layout{
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: #fff;
}
</style>
